<?php
/* @var $this AgentRechargeController */
/* @var $model AgentRecharge */
if($_GET['flag'] == '3G'){
    $this->breadcrumbs=array(
            Yii::t('base','Create 3G Pay')=>array('admin'),
            Yii::t('base','Create'),
    );
}else{
    $this->breadcrumbs=array(
	Yii::t('base','Agent Recharges')=>array('admin'),
	Yii::t('base','Create'),
    );
}
?>

<h1><?php 
if($_GET['flag'] == '3G'){
    echo Yii::t('base','Create 3G Pay');
}else{
    echo Yii::t('base','Create AgentRecharge');
}
?></h1>

<?php 
    if($_GET['flag'] == '3G'){
         echo $this->renderPartial('_form2', array('model'=>$model,'modelB'=>$modelB));
    }else{
        echo $this->renderPartial('_form', array('model'=>$model));
    }
 ?>